<?php
/**
 * Created by PhpStorm.
 * User: Frings
 * Date: 2017/5/9
 * Time: 15:23
 */

?>

<style type="text/css">
    .form-control-1 {
        display: block;
        width: 100%;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }
</style>
<input type="hidden" id="inputLogId" value="<?= $log['_id'] ?>">
<div class="modal-body">
    <div class="form-horizontal">
        <div class="form-group">
            <label class="col-lg-2 control-label">controller id:</label>
            <div class="col-lg-3">
                <label class="form-control"><?= $log['controllerId'] ?></label>
            </div>
            <label class="col-lg-2 control-label">action id:</label>
            <div class="col-lg-5">
                <label class="form-control"><?= $log['actionId'] ?></label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">getParams:</label>
            <div class="col-lg-10">
                <?php var_dump($log['getParams']) ?>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">postParams:</label>
            <div class="col-lg-10">
                <?php var_dump($log['postParams']) ?>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">league id:</label>
            <div class="col-lg-5">
                <label class="form-control"><?= $log['league_id'] ?></label>
            </div>
            <label class="col-lg-2 control-label">league name:</label>
            <div class="col-lg-3">
                <label class="form-control"><?= $log['league_name'] ?></label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">remote addr:</label>
            <div class="col-lg-10">
                <label class="form-control"><?= $log['remoteAddr'] ?></label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">httpUserAgent:</label>
            <div class="col-lg-10">
                <label class="form-control-1"><?= $log['httpUserAgent'] ?></label>
            </div>
        </div>

        <div class="form-group">
            <label class="col-lg-2 control-label">exceptionCode:</label>
            <div class="col-lg-10">
                <label class="form-control-1"><?= $log['exceptionCode'] ?></label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">exceptionMessage:</label>
            <div class="col-lg-10">
                <label class="form-control-1"><?= $log['exceptionMessage'] ?></label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-lg-2 control-label">exceptionTraceMessage:</label>
            <div class="col-lg-10">
                <label class="form-control-1"><?= str_replace("\n", "<br>", $log['exceptionTraceMessage']) ?></label>
            </div>
        </div>
    </div>
</div>
